Carbon


Move

Header: Quickdraw.h Carbon status: Supported

Moves the graphics pen a particular distance.

void Move (
    SInt16 dh, 
    SInt16 dv
);
Parameter descriptions
dh

The horizontal distance of the graphics pen’s movement.

dv

The vertical distance of the graphics pen’s movement.

DISCUSSION

The Move function moves the graphics pen from its current location in the current graphics port a horizontal distance that you specify in the dh parameter and a vertical distance that you specify in the dv parameter. The Move function calls

MoveTo(h+dh,v+dv)

where (h,v) is the graphics pen’s current location in local coordinates. The Move function performs no drawing.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)